#pragma once
#ifndef MY_OPENCV_HEADER
#define MY_OPENCV_HEADER
#include "opencv.hpp"
#include "opencv2/legacy/legacy.hpp"
#include "opencv2/legacy/compat.hpp"
#include "myQT.h"
#pragma comment(lib, "opengl32.lib")
	#ifdef _DEBUG
		#pragma comment(lib, "opencv_core231d.lib")
		#pragma comment(lib, "opencv_flann231d.lib")
		#pragma comment(lib, "opencv_imgproc231d.lib")
		#pragma comment(lib, "opencv_highgui231d.lib")
		#pragma comment(lib, "opencv_ml231d.lib")
		#pragma comment(lib, "opencv_video231d.lib")
		#pragma comment(lib, "opencv_objdetect231d.lib")
		#pragma comment(lib, "opencv_features2d231d.lib")
		#pragma comment(lib, "opencv_calib3d231d.lib")
		#pragma comment(lib, "opencv_legacy231d.lib")
		#pragma comment(lib, "opencv_contrib231d.lib")
		#pragma comment(lib, "libjasperd.lib")
		#pragma comment(lib, "libjpegd.lib")
		#pragma comment(lib, "libpngd.lib")
		#pragma comment(lib, "libtiffd.lib")
		#pragma comment(lib, "zlibd.lib")
		#pragma comment(lib, "vfw32.lib")
		#pragma comment(lib, "comctl32.lib")

	#else
		#pragma comment(lib, "opencv_core231.lib")
		#pragma comment(lib, "opencv_flann231.lib")
		#pragma comment(lib, "opencv_imgproc231.lib")
		#pragma comment(lib, "opencv_highgui231.lib")
		#pragma comment(lib, "opencv_ml231.lib")
		#pragma comment(lib, "opencv_video231.lib")
		#pragma comment(lib, "opencv_objdetect231.lib")
		#pragma comment(lib, "opencv_features2d231.lib")
		#pragma comment(lib, "opencv_calib3d231.lib")
		#pragma comment(lib, "opencv_legacy231.lib")
		#pragma comment(lib, "opencv_contrib231.lib")
		#pragma comment(lib, "libjasperd.lib")
		#pragma comment(lib, "libjpegd.lib")
		#pragma comment(lib, "libpngd.lib")
		#pragma comment(lib, "libtiffd.lib")
		#pragma comment(lib, "zlibd.lib")
		#pragma comment(lib, "vfw32.lib")
		#pragma comment(lib, "comctl32.lib")
	#endif
#endif